package com.msb.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.beans.ConstructorProperties;
import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor//有参构造
@NoArgsConstructor//无参构造
public class Person {
//    @Value("${pqc.person.lastName}")
    private String lastName;
    private Integer age;
    private Map<String,Object> map;
    private List<String> list;
    private Dog dog;
}
